<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN">
<html>
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=Cp1252">
	<meta charset="utf-8">
	<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
	<link rel="stylesheet" href="<?php echo base_url() ?>WebContent/css/style.css">
	<title>Sign Up</title>
</head>
<body>
    
	 <?php echo "<div class='login'>".validation_errors()."</div>" ?>
	 <?php  $attributes = array('class' => 'login');
	 		echo form_open("registration",$attributes); ?>
	  <p>
	  <label for="user_name">User Name:</label>
	  <input type="text" id="username" name="username" value="<?php echo set_value('username'); ?>" />
	  </p>
	  <p>
	  <label for="email_address">Your Email:</label>
	  <input type="text" id="email_address" name="email_address" value="<?php echo set_value('email_address'); ?>" />
	  </p>
	  <p>
	  <label for="password">Password:</label>
	  <input type="password" id="password" name="password" value="<?php echo set_value('password'); ?>" />
	  </p>
	  <p>
	  <label for="con_password">Confirm Password:</label>
	  <input type="password" id="con_password" name="con_password" value="<?php echo set_value('con_password'); ?>" />
	  </p>
	  <p>
	  <input type="submit" value="Register" />
	  </p>
	  <p class="forgot-password"><a href="<?php echo base_url() ?>index.php/login">Return</a></p>
	 <?php echo form_close(); ?>
	
</body>
</html>